
import axios from "./axios";

 // 登录接口
export  function getLogin(values:any){
   return  axios({
        url:'http://localhost:3210/api/doctor/login',
        method: 'post',
        data:values
    });
}

//提现记录接口
 export  function Monetarylist(){
    return  axios({
         url:'http://localhost:3210/api/get/HBI',
         method: 'get',
     });
 }

//医生端聊天接口
 export  function DoctorChat(){
    return  axios({
         url:'http://localhost:3210/api/doctor/chat',
         method: 'get'
     });
 }

//医生评论
 export function DoctorPl()
 {
    return axios({
        url: 'http://localhost:3210/api/get/history',
        method: 'get'
    })
 }


 export function Suggest()
 {
    return axios({
        url: 'http://localhost:3210/api/get/suggestion',
        method: 'get'
    })
 }

//聊天室
export function Chatroom()
{
    return axios({
        url: 'http://localhost:3210/api/doctor/chat',
        method: 'post',
        
    })
}

//礼物

export function Gift()
{
    return axios({
        url: 'http://localhost:3210/api/doctor/gift',
        method: 'get',
        
    })
}

//内容详情

export function ContentDetail(id: any)
{
    return axios({
        url: `/detail?id=`+id,
    })
}


//内容详情

export function MyuserData(id: any)
{
    return axios({
        url: `/mylists?id=`+id,
    })
}

